#pragma once
#include "iipch.h"
#include "xxFigProcess.h"

#define iiTEST_BADPOINT_MaxNum 200

class _mmTest_BadPoint {
public:
	CString iniField = L"Test_BadPoint Setting";
	bool _Init();
	bool Flag_Inited = false;

	double Limit_Low;
	double Limit_High;

	double Result_Low, Result_High;

	bool RunTest(uuByteFig& ByteFig);

	Point2i DarkPoints[iiTEST_BADPOINT_MaxNum];
	Point2i WhitePoints[iiTEST_BADPOINT_MaxNum];

	int DarkNum;
	int WhiteNum;
	int SumNum;
	bool Flag_TestResult;


	int StepX = 16, StepY = 12;

};

extern _mmTest_BadPoint mmTest_BadPoint;